Skip to content

[Schema] Fix catalog getTable failing for bucketed append tables created with Paimon 0.7#8025

Merged
JingsongLi merged 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-bucket-compat
May 31, 2026
Merged

[Schema] Fix catalog getTable failing for bucketed append tables created with Paimon 0.7#8025
JingsongLi merged 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-bucket-compat

Conversation

@ArnavBalyan

Copy link
Copy Markdown
Member

Purpose

  • Paimon 0.7 allowed creating fixed bucket append tables without a bucket-key.
  • The bucket validation added in 1.0 runs on every table read and fails for the legacy tables which dont have a key.
  • The deserializer already handles this with bucket=1 for old schemas, but validation does not check this.
  • Skip this check for older versions.

Tests

  • UT Added
  • CI

@ArnavBalyan ArnavBalyan changed the title [Schema] Fix catalog.getTable() failing for bucketed append tables created with Paimon 0.7 [Schema] Fix catalog getTable failing for bucketed append tables created with Paimon 0.7 May 28, 2026
@ArnavBalyan

Copy link
Copy Markdown
Member Author

cc @JingsongLi thanks!

@leaves12138 leaves12138 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the compatibility fix. The exemption is narrowly scoped to legacy Paimon 0.7 append tables with bucket = 1, while current schemas and other bucket counts still require a bucket key. The added tests cover these cases and CI is green. Looks good to me.

@JingsongLi JingsongLi merged commit c38d3e8 into apache:master May 31, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants